Use nproc instead of the home-brewed solution

Signed-off-by: Thomas Braun <thomas.braun@byte-physics.de>
Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>