US help key in fight against extremists — military