Made sure that lock files are created. A lock file contains the downloaded dependencies. Also made it possible to compile dependencies