Changed Makefile to compile with the right kernel
Fixed code