Mute a few warnings when using test=0 on OSX.