Fixed version path in setup.py to work everywhere.

- also removed use of `map` function in version.py