Fix underlinking

This adds the libXrandr library explicitly - otherwise the build fails with the GNU GOLD linker.