modifications to fix some glitches for salt parts under linux