Fix building poppler on older versions of mingw-w64.