Fix compile error on JDK 1.6.
Fix windows line endings.