Fix clang version detection

I needed to make a minor change to get the clang version detection to work in my project (on linux).  I noticed that the platform define was being tested against a compiler define which seemed strange.  I made this adjustment on my side to fix the issue but please let me know if there is a more appropriate solution