add support for strncmp, and use env var SPYSTR