Fix dll permission