correctly detect freetype2 headers