fix for curl opt definitions in php <5.2.3