move build type back to previous location

- this needs to be done later than including the
  toolchain