Use macros provided by FindBison/FindFlex cmake module, oos builds.

This pull request does a bit of code maintaince:
  * Instead of manually calling the bison and flex executables it uses
    the macros provided by the FindFlex/FindBison modules.
  * Allow to create out of source builds by adding or replacing some 
    search pathes to the include directories.