Replaced custom command calls with bison/flex macros from FindFlex package.
Enable out of source build.
Adjusted binary output for OOS builds