[openwrt] Makefile fixes

Signed-off-by: Ion Dumitrache <gear@ines.ro>
[openwrt] switch compile fixes

Signed-off-by: Ion Dumitrache <gear@ines.ro>
[openwrt] util_swlib fixes

Signed-off-by: Ion Dumitrache <gear@ines.ro>