Moved buffer.c to compile for ARM