Simplifying allocator detection. Error if selected allocator could not be detected