wm: fix build for CE