Fixed compilation with newer libubox.
libubox added a sys/stat.h include, which happens to break compilation.
The reason being __unused is a variable in musl and an attribute here.
Fixed by undefining right before including the headers.
Clean up Makefile for consistency between packages.
Refreshed patches.
Signed-off-by: Rosen Penev <rosenp@gmail.com>