Added KERNELDIR variable usage
Makefile adopted to be used from kernel tree