Fixed issue parsing custom options

Setuptools fails on unrecognized options (ex. --curl-config=...)
this patch removes custom options from sys.argv when they are parsed.

Problem presents on setuptools 1.0