Clean up bdist.py a bit.