compiler: fix RTI causing broken module