initial cmake version
fixed parser/lexer generation
improved DL module
Merge pull request #3 from napcode/cmake

Adds Cmake support and other improvements.
fixed cmake-related compilation issuses for MacOSX