deglobalize and compile on Linux, and be c++