Make err.h a bit more Windows friendly