add missing targets to our newer GNUmakefile
remove some unused variables, and mark computed goto usage with __extension__ qualifier