changed NPROCS calculation as bc isn't installed by default on some
systems.