use enviromental variables as option-switches in CMakeLists.txt