Added missing ifdef for X11
v1.6.3