making it possible to build polipo using MinGW-w64
(cherry picked from commit 54c11f3177a452aa856f2a9aaceeba6603623272)