Use a default for multiprocessing if not set
Merge pull request #4076 from torhve/develop

Use a default for multiprocessing if not set. This fixes #4075