Increased build optimization level for kgw library