update Arduino-Makefile for better lib autodetection when compiling