This file seems to do the trick. Using macros to override class names.
https://github.com/jverkoey/nimbus/blob/master/src/core/src/...
Perhaps this could be avoided by just replacing all class names with macros (e.g. _N(NILinkedList)), though that might hinder code completion.
Now that I think about it, I see that I don't have any idea how 'dylib's work... I should look them up.