libsv-common: replace libsv-common methods with standard methods
err: replace strerr.h methods with err.h methods