EHS builds on windows with cmake and VS 2013

 - adapted the code so it builds on windows
 - added cmake build system