iks: compiling on squeeze

+ fixes to compile on squeeze