x11grab: fix platform test