Fixing up warnings on Mac.