Fix staging for windows