Added initial patches for making Python 3 compatible binaries