Index: crates/main/src/main.rs
--- crates/main/src/main.rs.orig
+++ crates/main/src/main.rs
@@ -16,10 +16,10 @@ use smtp::{core::SmtpSessionManager, StartQueueManager
 use trc::Collector;
 use utils::wait_for_shutdown;
 
-#[cfg(not(target_env = "msvc"))]
+#[cfg(not(target_os = "openbsd"))]
 use jemallocator::Jemalloc;
 
-#[cfg(not(target_env = "msvc"))]
+#[cfg(not(target_os = "openbsd"))]
 #[global_allocator]
 static GLOBAL: Jemalloc = Jemalloc;
 
