add CMAKE_BUILD_TYPE to build script