Improve Clang 3.2 hasCLanguageLinkageType workaround

Change-Id: If5c104adc05aa362d15cedf6f8953bda478897bc