wm: fix rhoelements ext build