utils: add methods for finding and loading handlers

This module provides a couple basic methods for enumerating and then
loading handlers.

Change-Id: I4f58be313190c48de25c2b9578b7c622afefc656
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/Makefile.am b/Makefile.am
index 9373ea2..9027e47 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -13,12 +13,17 @@
 			 manager.cpp \
 			 process.cpp \
 			 crc.cpp \
+			 utils.cpp \
 			 $(HANDLERS)
 
 libblobcmds_la_LDFLAGS = $(SYSTEMD_LIBS) \
+			 $(LIBADD_DLOPEN) \
+			 $(PHOSPHOR_LOGGING_LIBS) \
+			 -lstdc++fs \
                          -version-info 0:0:0 -shared
 
-libblobcmds_la_CXXFLAGS = $(SYSTEMD_CFLAGS)
+libblobcmds_la_CXXFLAGS = $(SYSTEMD_CFLAGS) \
+			  $(PHOSPHOR_LOGGING_CFLAGS)
 
 nobase_include_HEADERS = \
 	blobs-ipmid/blobs.hpp \