Fix builds for travis