configure: Update freetype check to follow upstream