Fix issue with version check

Updated CheckVersion() to accept versions in either M.m.b or M.m.b.r
formats (currently failing on M.m.b.r teditversion.txt)