fixup osmajor version for 7