Use {with x} instead of {with wayland} macro to remove libGL files

Change-Id: I24a50a4159af5737b4d8c08105357ac1ac8a8b7d
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>