[Bug 1257] - Regression in dll loading