add dll ext for win and *nix