clean out unused headers

specifically <err.h> which is not standard C or POSIX (I think?)