Generalize

avoid being overly linux specific