fixed shutdown commands for all OSes