Try to cope with a dodgy IE8 shim for Object.getPrototypeOf