Fix two small compiler warnings
See moar compilation errors on Mac OSX