Possibly fixed in git master by a different way to include the Freetype headers: https://git.gnome.org/browse/dia/commit/?id=0b863adcad031c70601e375d72dae64fdd967752