made setting CMAKE_MODULE_PATH nondestructively