Fix language.cc for mac