Replace <error.h> with local implementation. (Ooops, somehow overlooked that <error.h> was a GNU extension. Usually I write my own version of 'error' but got lazy this time.)