gcc4.8 compatibility