[CONFIGURE] Make configure.sh print out an error when CMake fails