mac new compiling error fixed