added multi-library construction
added multi-library construction