Refactor osx and linux implementations into single posix class