cmake: disable eos for apple and windows

- re-enable warning as errors