Afghan leaders need hard compromise: Obama