Check major/minor version before setting theme directory