Detect x11 and wayland support in distro and install framebuffer libs in case of wayland and x11 ones otherwise.