fix kernel version detection: drop ${target} from kernel version string