Avoid some OS X console messages from being generated.