Fix compil under arduino  1.x >
Add define and function handler