Add check for invalid cmake build type
Currently, passing a typo to CMAKE_BUILD_TYPE will not throw an error.
cmake .. -DCMAKE_BUILD_TYPE=dbug
Currently, passing a typo to CMAKE_BUILD_TYPE will not throw an error.
cmake .. -DCMAKE_BUILD_TYPE=dbug