Fix compile error under wayland 1.6

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>