only log buildType if it is defined