Make the macro only depend on core, alloc and sync