[install] Made install more portable.

This was failing with a certain shells.