Update CMake files to compile on linux