install.sh: die on error
fix compilation under OSX