libev protect when disabled at runtime in server.c

Signed-off-by: Andy Green <andy.green@linaro.org>