Added cross-compiler definitions due to stricmp not being defined in POSIX.