Fix the improper use of the latest API update for GetKeyRange
Disable in-house iterator (home-made patch in Kinetic C++ not merged upstream) use by default to avoid compilation issues
Improve CMakeLists.txt to be able to use environment variables as well as cmake-defined ones