The configure scripts now accepts a build type parameter (e.g. debug or release). The CMake files aren't yet entirely setup and tested yet, so the feature isn't functional.