Fixed nproc on Mac OSX.