if returning errno value directly from a syscall, we need to negate it.
[musl] / lib /
2011-02-17 Rich Felkernew solution for empty lib dir (old one had some problems)