compiling for the correct target kernel version