use strstr instead of strnstr, linux-base system do not have strnstr