Fix Optimize to build on 7.6