fix macosx compile (typo)