Fix comiler warnings (initialization order matters).