Fix debug option in cmake.sh