Correcting artifacts install script to work os OSX as well