Update make_kernel.sh

Add autodetect number of cpu
Merge pull request #1 from guits/master

Update make_kernel.sh