Make code compatible with OSX 10.6 and other systems that don't have memmem and/or strncpy functions natively
Add -Wno-unused-local-typedefs flag to ignore too boost-related warnings
make memmem and strncpy non-mandatory functions
Correcting compatibility, as well as handling of unsupported compilation flags
typo