compatibility gcc 4.7