Torso of CMake build script wrapper for linux