Add SAMDB_LIBS to mapistore_test linkage rule