Compatibility fix for travis