Fix compilation issues on Windows (use filter instead of findstring)