Dynamic library preperation