Ex-Scottish First Minister takes aim at US President in speech