LPS-46897 make new classpath pattern work in Windows