use nproc for determine cpu count