only use kqueue on osx