Add a NUM_JOBS env var to builds

Closes #539