Generalize build thread count for jom and MSBuild.

Set BUILD_THREADS to the required count.
%NUMBER_OF_PROCESSORS% by default.