Changes to SLURM 2.6 implementation so it works on UPPMAX