improved a way of configuration by using native CMake build type
Added support for empty values (i.e. "key=").