CMakeLists.txt: Fixed RuntimeError on import.