Make brokenhub compile with gcc versions