KozmiKKernel: Fixing compile script to compile and remove changed items upon compiling