Fix compilation on Arduino 1.0.
Merge pull request #11 from ambrop72/multimaterials-arduino10

Fix compilation on Arduino 1.0.