Define NO_MEMMEM for Windows/OSX targets