set Release if CMAKE_BUILD_TYPE is set to None