Fix building with curl on Linux PPC and Sparc
Merge pull request #85 from MAN-AT-ARMS/curl_fixes

Fix building with curl on Linux PPC and Sparc