Update avoid.sh

Added fix when building "build.c" by checking if build.c already exist. The code gets appended instead of creating a new one.