wm: fix build for 6.5.3