fix CMakeLists template global install