Changes to compile on Linux

Apologies about the white space at the end of the lines.  My editor automatically chops off end of line white space and I didn't notice until I had already made changes.  Tried to figure our how to get 'git' to not commit white space differences, that I had it, but obviously wasn't successful.

Currently doesn't build on Linux because of recent work in network_wrapper.cpp.

I don't think I introduced any Linux/g++ only functions or approaches, BUT I do not have a Windows build environment to test.

Made significant changes to the 'makefile_linux' files.

Microsoft C++ specific things that I tried to find standard C++ replacements for:
sprintf_s -> snprintf
__int32 -> int32_t

g++ had a problem with types when trying to compile 'string2upper(ins_string.substr(0,i))' and I just created a tmpstring of the correct type to pass into string2upper.

Fixed some path issues for include file - after looking at it though I think I should probably do this in the 'makefile_linux' files.