wmx: fix cross build.