Define EPROTO on the platforms where it is not defined

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>