Compile dependencies before compiling app