Install dependencies before compiling