Keep `getPrototypeOf` check for `_.isPlainObject` in `modern` builds. [ci skip]