fixes compilation with gcc 4.7