Fix gl version parsing (sort of)