Fixes compile error with musl

Signed-off-by: Felix Fietkau <nbd@openwrt.org>