BLD: fix Qhull build issue with MinGW-w64.  Closes gh-3237.

Thanks to @carlkl for the suggested fix. I can't easily test this, but simple enough to review that it shouldn't break anything for MSVC.