unified setup.py for Linux and Mac OS X, improved the handling of Version