[package] workaround gcc-3.4.6 not handling -iquote parameter (#5446)