gross workaround for broken libcurl in rhel 5