python: enable builtin hashlib module

Required for numpy's build.