Tweaks for *nix compatibility.