x11rdp: fix linker issues