Fixes automatic test builds for travis-ci