Fixed bug in install script on newer SmartOs releases.