Added support for gcc 4.6