linux has no strnstr..use memmem instead there