Move some common methods out to cross_unix.cc