Fix advanced compilation.