Fix warnings in ObjExporter