wam: fix build error after yocto/zeus update