small fixes to compile in watcom