Special Folder Libraries identical between Rhino7 and Rhino8

Hi, the RhinoCommon API is different between Rhino 8 and Rhino 7. They both use the identical Folder “Libraries” for custom plugins. How can I define a different one for Rhino 8? We want to be able to switch between Rhino 7 and Rhino 8.