Update install-sx.sh

Made the install script multi-OS friendly, and also added some compilation tips for less experienced users.