make it gcc 4.7 compatible