fixed build for wayland backend. Avoid including X11 headers

Signed-off-by: Andriy Prystupa <andriy.prystupa@globallogic.com>