BLD : fix build on windows

patch suggested by cgohlke to fix issues with building
FreeType extension

Closes #3140