Fix gcc-post script for static GCC build.