Added compiling of ssa_db.c for acm and plugin directories

Also, linked to shared source from directory specific source

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
Added compiling of ssa_db.c for distrib directory

Also, linked to shared source from directory specific source

Signed-off-by: Hal Rosenstock <hal@mellanox.com>