Fixes type error in setup.py