add library type and prefix