fix build for travis ci