I am not sure if i am doing something wrong or if i have my environment setup wrong.. I have just pulled down and done a build of energia
( git clone https://github.com/energia/Energia.git /opt/energia.build && cd /opt/energia.build/build && ant linux64-build && ant linux64-run)
It seemed to work fine when my daughter and I wrote her little whiskerbot, when I try to load up the sample simpleWebServer prog, i get compile errors.
Here is what i have worked through so far - but now my limited C++ skills are shining through..
$ diff /opt/energia.build/libraries/Simple