[osx] auto fallback to polling since kqueue may require c extension installed
[linux] auto fallback to polling on unsupported libc