Addresses 57964. I wonder why this is necessary, it works fine on NetBSD (with modular X.org) without this - -lX11 and other X libraries are on the linker line.