build path & create lib folder