Fix compilation error on Windows (popen and pclose are called _popen and _pclose on Windows)