It is now possible to set the CMAKE_BUILD_TYPE on the command line.