changed check to windows instead of linux