Australia win but still face early exit