Fix variable definition. Optimize gcc-post script.