Improve Kernel Script Compile Time

*Add variable with number of CPU cores
*Compile the kernel in parallel based on the computers CPU cores