Backport to optparse from argparse for Python 2.6 compatibility