Fix obscure porting bug with varargs functions.