Bug fix for BGP building

Change-Id: I1d5c52855066edccc7101d86fd10ba63d9ea5da3
diff --git a/protocols/bgp/api/BUCK b/protocols/bgp/api/BUCK
index 2a195f0..e4aaf3e 100644
--- a/protocols/bgp/api/BUCK
+++ b/protocols/bgp/api/BUCK
@@ -1,6 +1,8 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
     '//protocols/bgp/bgpio:onos-protocols-bgp-bgpio',
+    '//core/api:onos-api',
+    '//lib:netty',
 ]
 
 osgi_jar_with_tests (
diff --git a/protocols/bgp/bgpio/BUCK b/protocols/bgp/bgpio/BUCK
index 2b27800..982dc44 100644
--- a/protocols/bgp/bgpio/BUCK
+++ b/protocols/bgp/bgpio/BUCK
@@ -1,5 +1,7 @@
 COMPILE_DEPS = [
     '//lib:CORE_DEPS',
+    '//lib:COMPILE',
+    '//core/api:onos-api',
 ]
 
 osgi_jar_with_tests (
diff --git a/protocols/bgp/ctl/BUCK b/protocols/bgp/ctl/BUCK
index 68aa0cd..5d4ac76 100644
--- a/protocols/bgp/ctl/BUCK
+++ b/protocols/bgp/ctl/BUCK
@@ -6,6 +6,10 @@
     '//lib:javax.ws.rs-api',
     '//protocols/bgp/api:onos-protocols-bgp-api',
     '//protocols/bgp/bgpio:onos-protocols-bgp-bgpio',
+    '//lib:netty-common',
+    '//lib:netty',
+    '//lib:org.osgi.compendium',
+    '//lib:org.apache.felix.scr.annotations',
 ]
 
 osgi_jar_with_tests (