updated setup and travis for compilation