Fix the build issue for travis.