Fixed build process for travis