Make the build directory hierarchy first.