x11rdp: improve dependency resolution