Updated premake for curl dependency on mac. Fixed compile error where curl could not find socklen_t; include socket before curl.