build-system/cmake: Add #:build-type parameter, default to "RelWithDebInfo".