Unix & CCS compatibilty

Made code compile under Linux using CCS again without any warnings.