Fixed compilation issues with ant in Windows.