Fixes hooking into hashlib