Modified rules to retrieve libs from ivy

Have dependency on phony retieve target
Changed ext.libs.dir to be ext.libs.dir.cache