Ex-central banker Mark Carney was sworn in as prime minister of Canada on Friday and immediately said he could work with U.S.