Check for compiled code before doing unneeded work (~10% perf bump)