Adding a script to run out of source build with cmake. Fixing the CMakeLists/