fixed bug concerning last commit in MediTEC/CMakeLists.txt