Python 3 compatibility
Adds PYTHON_VERSION