Hi AlphaCHarly,
That seems like a strange error. I just tried that code on my board and it did not showed any errors. I’d recommend you to follow the steps in this guide https://communities.intel.com/docs/DOC-23148 . According to your description you are using a MAC so give this guide a try and let us know your results.
Regards
Sergio