Fix for Windows carriage return issue

\r was causing problems for the Java compiler