Use build_iovec() to make it less cryptic.  This also fixes warnings.