BLD : fix build on windows

patch suggested by cgohlke to fix issues with building
FreeType extension

Closes #3140
Merge pull request #3157 from tacaswell/win_build_fix

BLD : fix build on windows