change build.sh so it compiles correctly with 2009-q3 toolchain