Fix library dependency issue

Change-Id: I2b08194f4554b2c0f1e595184ef0a36bd494ad17
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vlib.am b/src/vlib.am
index 9c3b4d5..0154d84 100644
--- a/src/vlib.am
+++ b/src/vlib.am
@@ -14,6 +14,7 @@
 
 lib_LTLIBRARIES += libvlib.la
 libvlib_la_LIBADD = libvppinfra.la -ldl -lpthread
+libvlib_la_DEPENDENCIES = libvppinfra.la
 
 BUILT_SOURCES += vlib/config.h