Changed cmake builds to ensure CMAKE_BUILD_TYPE is valid. Set it to 'Release' if it is not set.
Changed cmake builds to ensure CMAKE_BUILD_TYPE is valid. Set it to 'Release' if it is not set.

bbcrd/bbcat-base,bbcrd/bbcat-base,bbcrd/bbcat-base