Add simple library management based on library version