Fixed version parsing (readthedocs had a problem).