Fix recompilation checking of pure plugins