Fix process coding for windows systems