err.h problem when running selfupdate