Add environment override for cpu count detection