Refactor autodepends.pri