Fixed mysql version check