build.sh: build threads choices & misc clean up

Allow user to choose how many threads to build with from the following options: -j4, -j8, -j18, -j32