Fix for incorrect nproc discovery results on some VM systems.