Make sure the necessary build directory exists.