Adding wider search for DOMImplementation

Need to open PR to test if this fixes the build.