Apply the same filtering to -I paths as -L paths