Fix some warning for openwrt compilation