use g++ under Linux to fix the boost::atomic bug of clang3.0 under centos