Limitations:
* untested (and therefore unbuilt) on Windows 64
* The dll entry point is not called, which usually requires the DLL to
cooperate by calling _CRT_INIT from the loaded entry point
* There is no support for unloading (no need in this patch)