rename packtype to buildtype