More portable 'configure' script.

Use 'env' to find 'sh' (for the l33ts among us using NixOS, who
don't have absolute paths nor an official bash).
Merge branch 'master' of https://github.com/protz/mezzo