Don't crash when ctypes isn't available
Derp
Use older hash modules when hashlib isn't there
Land #3083, fix pymet when ctypes isn't available