add shared libraries
diff --git a/extensions/ebt_mark_m.c b/extensions/ebt_mark_m.c
index 1c18d9e..2cc371a 100644
--- a/extensions/ebt_mark_m.c
+++ b/extensions/ebt_mark_m.c
@@ -44,7 +44,7 @@
 		if (ebt_check_inverse(optarg))
 			markinfo->invert = 1;
 		if (optind > argc)
-			print_error("No mark specified");
+			ebt_print_error("No mark specified");
 		markinfo->mark = strtoul(argv[optind - 1], &end, 0);
 		markinfo->bitmask = EBT_MARK_AND;
 		if (*end == '/') {
@@ -54,7 +54,8 @@
 		} else
 			markinfo->mask = 0xffffffff;
 		if ( *end != '\0' || end == argv[optind - 1])
-			print_error("Bad mark value '%s'", argv[optind - 1]);
+			ebt_print_error("Bad mark value '%s'",
+					argv[optind - 1]);
 		break;
 	default:
 		return 0;
@@ -115,8 +116,7 @@
 	.extra_ops	= opts,
 };
 
-static void _init(void) __attribute((constructor));
-static void _init(void)
+void _init(void)
 {
 	ebt_register_match(&mark_match);
 }