Add test which checks for the existence of CMake. If the cmake executable isn't found stop with an error message. Implements #48.