Updated build-llvm to use a more generic ioctl
to determine the number of available processors.