Atempt to create a portable CMake file.