fix Smarty lib path
add deps for repo rebuild