fix compile for g++ 4.4.7