restructure library pathes