fix(cook): build shared dependencies
Before it was not check if the shared dependencies of a package had been built. This resulted in the installer panicking as it tried to install a non-built package. This commit fixes that issue.
Signed-off-by: Anhad Singh andypython@protonmail.com