Remove dependency on old application framework and wayland

No match.