restrict is a macro somewhere up the windows stack

Cherry-pick from trunk@33145. From strbafridrich.

git-svn-id: svn+ssh://svn.abisource.com/svnroot/abiword/branches/ABI-3-0-0-STABLE@33155 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
No need to link with -lphtread on windows

Cherry-pick from trunk@33146. From strbafridrich.

git-svn-id: svn+ssh://svn.abisource.com/svnroot/abiword/branches/ABI-3-0-0-STABLE@33156 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
_WIN32 is compiler define, so use it

Cherry-pick from trunk@33147. From strbafridrich.

git-svn-id: svn+ssh://svn.abisource.com/svnroot/abiword/branches/ABI-3-0-0-STABLE@33157 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6