build script supports x11 and wayland now