Fix GDCore CMakeLists.txt