CMakeLists: Fix -Werror option logic
The check there was obviously meant to use the version of CMAKE_BUILD_TYPE
that's been turned into lowercase.
The check there was obviously meant to use the version of CMAKE_BUILD_TYPE
that's been turned into lowercase.