Run setup fixes

Apply fixes to distutils.core routine in Python.  Thanks Vickor for pointing these out.