Fixed compilation with gcc-4.6