Fix unix socket support - needs a compile time define