Obama: We have to stop rise in 'crude nationalism'