Fall back to hardware_concurrency() when no cores are found in /proc/cpuinfo

See https://svn.boost.org/trac/boost/ticket/10155