remove build error on mac