Set optimization level though kernel config