Goals from Ross McCormack and Stephen Warnock helped Leeds recover from a goal down to beat Yeovil 2-1 in the Sky Bet Championship at Huish Park.