fix FS#1050 - Compilation error under Linux / X11 (c60189 build failure)