Add dependencies of libr3