Fixed a warning that occurred on Mac OS X