arc module needs #[cfg(pthread)] too