Fixed build process and improved travis