merge windows and linux code