build: Add support for known custom allocators