Fixed macosx ifdef in ProtobufFile