minor compile error on Mac OSX