-fixed compatibility issues with relative paths in cmake
-moved include guard from Generate.cmake into Integrate.cmake
-adjust gcc compiler flags
-minor fixes to compile under linux