Ensure that local variable names are symbols in older Ruby versions