Issue #80. Link against X11 libraries by default.

X11 libraries are included only if opengles2 and opengles2 is enabled. So if EGL is disabled, Window APIs in image.cpp, cairo-image.cpp and skia-image.cpp files throw undefined reference errors.

Changes are verified. Can be merged.