Mimic make's -j behavior

If -j flag is used without specifying the number of processor used,
automatically detect the number of available processors and use all of
them.