now mac can compile this project normally.