More printf portability fixes. Got caught out by some gcc'isms last