Fix for Travis CI compatibility