Adjust `_.isElement` dependencies and make the build work with its method fork.