changed cmake/CMakeLists.txt to default to use Linux build
Fixed some errors on linux build.