fix for pycrypto 2.6