Only check for kernel source presence if kernel module building is requested