Kh - Fix OSX build