Updated C build scripts so that -error and -ansi are gone, and -std=c99 is used now