Fixed build with gcc 4.6