So why was Ahmed Nazif , Egypt 's prime minister , sitting beneath the vaulted ceiling of his office inside an old palace in Cairo , chatting amiably about what ails his country : the moribund economy , the recent terrorist attacks , the bloated public work force .