Minor syntax changes and support for Intel Galileo

This change fixes some syntax which was causing build breaks on other compilers, plus adds support for Intel Galileo.

This change was validated using Arduino 1.0.5-r2 on an Arduino Leonardo, as well as on Visual Studio 2013 with the Windows Developer Program for IoT on an Intel Galileo.
already added in the dev branch. Double check this block in Dev though to be sure it aligns with what you have here. I don't have a Galileo board to verify with.