Changes mysql version detection since it's not always X.Y.Z form