Fixed build issue with gcc4.8.2