cmake build system: using x11 headers, we also need to link with libx11

Signed-off-by: Tim Blechmann <tim@klingt.org>