Fix CMake build error
Remove USE_BINARY_DATA related code
Cease compiling warnings