devtools: remove legacy flags from includes check