Remove not required files
Fix compilation errors on OSX
Fix travis build script