Fixes TypeError when installing without freetype
Merge pull request #3414 from remram44/fix-missing-freetype

Fixes TypeError when installing without freetype