Fix the sources for Unix and Windows