kt changes for solaris compatibility