BUG : fix fetch of freetype version during build

Use freetype-config --ftversion flag to get freetype version (previously
using freetype-config --version which returns libtool version).
Merge pull request #3155 from matthew-brett/fix-freetype-version

BUG : fix fetch of freetype version during build