Fix build for travis.