Fix IRVisitor build for gcc/linux