Updated build scripts to compile using gcc. Can generate makefile, but code would not  compile