[scripts][buildall] try to guess the number of cpus on linux machines