Redo the "one dictionary per library" for roofitcore

This was inadvertently removed by commit 132f5917f47e50701eedd05b5d23392b735f706e.