bypass setsockopt() calls on weird distros - see #699