Yet another patch to get the source code compile on gcc-4.3. This adds the includes which are missing and are required in newer compilers, and also adds compatibility #defines (but active only in non-MSVC compilers) for stricmp et al. This patch could be applied in CVS as well, as it shouldn't change the compile status of the original code.