Fix dll loading