fix building error for gcc4.7 <3>