Better MySQL version comparisons during setup

Thanks whocarez/ruud