fix travis builds with custom build script