PHP: Added fix for building with freetype on Gentoo systems