fix windows object build