Make things work in windows and unux