trim non-numeric runes when parsing version string
fix mysql 4.1 prepare