modifications to make salt parts work under linux