rename $builddir to $__builddir and move up to where other defaults are set