add support for OpenWrt cross-compilation (non-gui apps only)