include a proper check for memmem when configuring unit tests This allows the proper compatibility header definition to be exposed.