add support to build libraries packages