Make compatible with robotframework 3-5. [maurits]