Update selectors.nim

Fixed selectors.nim on macosx