THRIFT-2571 Simplify cross compilation using CMake

fix CMake build and update README.md