Fixed inheritance pattern on mac