followed mniip's bash script to use all CPUs for make