more fixes for telPlugins to compile on UNIX, and fixes for a bunch of warnings there, too.