make Mac OS X compiler happy