fixed ibrun/srun detection for Lonestar