Fixed the build.sh script for filetool.