use g++ 4.9 compile