Add support for EPIPE and SIGPIPE (XCC)