Get basic standalone build working with CMake on Linux.