Installs dependencies before building