Add setting major/minor with buildhelper