more robust openGL version string parsing (Closes #48)