Fix 32 bit check for Python 3 on macOS.
sys.maxint is not available in Python 3. The recommended way to check the platform is to use sys.maxsize instead.
sys.maxint is not available in Python 3. The recommended way to check the platform is to use sys.maxsize instead.