some little arduino build process fixes