Link against EMCLoginItem framework and remove obsolete classes.
Update package manager files.