Minor compilation fix with java 8.
Fixed compilation issues with ant in Windows.