Add a option to enable graphite optimizations now that the compiler supports it