Add glue to build task_curl example under osx