Build fix: .cmxs compilation for all libraries