ISPN-4545 Checkstyle line termination check should work on Windows

https://issues.jboss.org/browse/ISPN-4545