Make cmake executable by calling cmake path/to/srcdir instead of calling
cmake.sh in build directory.