Merge pull request #231 from Alexpux/develop

Fix variable definition. Optimize gcc-post script.