add missing kgls header to fix compilation error