Prevent compilation failures with old gcc versions