fix build error in strstr