let abuild manage the shared libs depends actually use libxcomposite (cherry picked from commit 33b92c79)