fix command of g++ snapshot