Workaround the lack of a cmake platform file for clang.