fix setup.py with with non-unicode locale