Use Object.create if we have it, otherwise use a shim.