version for python3: fixed 64-bit issue

patch supplied by Troon (https://github.com/Troon)