Fix for older versions of cURL

This is basically the same fix as https://github.com/guzzle/guzzle/pull/463, since that didn't get into the new RingPHP codebase :)
I think those defined() calls are expecting a string value. Using it this way would trigger a warning wouldn't it?