Update references to fix build. Fixes #19954.