wm: fix build