Split source into generic and windows.