Fix the some error for gcc 4.6