Fix build and adopt new APIs of liblxqt.