Switch to argparse

optparse is deprecated in Python 2.7, and discontinued in Python 3.
The configure script works in Python 2.7 and 3.4.

Also, auto-detect 'bits', and improve the user interface.