NUM_CPUS has been deprecated

Signed-off-by: Chuck Short <chuck.short@canonical.com>