Ensure build directory exists