[8.x] WFLY-3345 Compilation error in clustering/web/infinispan w/ JDK 8u20 and Windows

https://issues.jboss.org/browse/WFLY-3345