SmartOS fixes, HAProxy 1.5.3, tinc 1.1-git, and some package updates

This is the cleaned-up version of: https://github.com/NixOS/nixpkgs/pull/2117
`stdenv/nix` defines `dontFixLibtool=1` as preHook. I'm afraid moving the libtool fix will defeat the purpose.  The problem this addresses is `/bin/sh` not being Bash, which it still is when compiling stuff with `stdenv/nix`.

Also, `patchShebangs` will update any script file it can find, whereas this fix only addresses `configure` and `libtool` specifically.   The libtool nix-expression sets dontPatchShebangs to true!