Updated for Xcode 4. Updated libcurl version. Cleaned up.