Fix core count detection on PBSPro (e.g. Archer).
Merge branch 'devel' into feature/supermuc