Fixed the 1.6.2 build. Fixes #17283.