Fix GCC compilation in next.