configure should check for memmem