fix gcc4.8 compile