#153 Fixed classpath and newline problems under windows

Not tests as I don't know a way to test Windows behavior under Unix-like system.