separate target and kernel sysroot flags