--build-type=Debug replaced by --enable-debug argument
added support for custom cmake options