fix build log output

Closes #23669.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>