Moved compiler from using stringbuilder to buffer.c.
  - Also fixed buffer.c bug.

Signed-off-by: Christian Gunderman <christian@gundermobile.cwru.edu>