Fix GCC 4.7 compilation