use g++ to compile .so, not clang++