Fixed a 'sphagetti' in setup.py that was causing build failures.