Fixing Slurm-related test compile errors