Hmm, it works for me on Linux with the latest git version of the compiler. So, your problem is that _lib loaded!_ is never called on Windows?
What version of Nim are you running? Perhaps the issue was fixed in the latest git version. You should try, if it wasn't you should file a bug report.
