New Zealand military braces for climate change battle