set CMAKE_BUILD_TYPE to install, also support RelWithDebInfo for deb release