wm: fix build from gems