Update make_kernel.sh

Add autodetect number of cpu