Make install script more portable.