Use glibc's get_nprocs function to get number of processors