Modified for OpenWRT-SDK compilation