separate mac and arch specific things