Compile dependencies of the dependency before compiling the dep