Add back httptask support for osx.
Fix linux build.
Merge pull request #842 from eiriksm/fix_linux_build

Fix linux build.
Merge pull request #841 from eiriksm/httptask_osx_build

Add back httptask support for osx.
Merge remote-tracking branch 'moai-dev/master'