Adds Ninja as an CMake Generator and make program

Copied from build_all.sh.