ensure build directory exists