Fixes compilation issues with older gcc