Makefile for arduino; also compilation fixes *spank spank*