build-script: compile with more jobs if build server is detected

Change-Id: Ia4fd2b69fc3a03693a5727654b5528d922fe86fc