Solve warning on some gcc versions