meson: Fix meson builds

When building the project from scratch (from a new workstation without
docker) I found that there were dependencies missing. Fixed them up.

Tested: Was able to build " tools/" and "bmc/"

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: Id2250c481a37d3cd4ed6915b1b2b0978df6e4649
diff --git a/bmc/meson.build b/bmc/meson.build
index a65d888..461d03c 100644
--- a/bmc/meson.build
+++ b/bmc/meson.build
@@ -1,6 +1,7 @@
 bmc_inc = include_directories('.')
 
 common_pre = declare_dependency(
+  dependencies: [function2_dep, json_dep],
   include_directories: [root_inc, bmc_inc])
 
 common_lib = static_library(
@@ -23,4 +24,4 @@
 
 subdir('firmware-handler')
 subdir('version-handler')
-subdir('log-handler')
\ No newline at end of file
+subdir('log-handler')