fix build script for travis