Minor changes to let the SLURM adaptor compile with AM's changes