In Windows:
Extract the plugin dll file to the plugin folder of your emulator (usually called 'plugin').
Then, put the BMGlib.dll file in the emulator directory (where the .exe is).
This should work. I have no idea about how to configure it on Linux.
If this don't work, it would be helpful you tell us about what emulator and operating system you're using, and what kind of error are you experiencing.