Fixes long on Python 3