Fix apple static libs