[CMake] Split Tools/CMakeLists.txt into platform files