Removes uneeded AOT compilation.