dialplan: fix cross compilation
regex: fix cross compilation