Add some flags for kernel build optimizations