add fix for mcmappl that prevented multicore mode to run in parallel in some cases