enhance config.h generation

* more closely match configure output (on linux)
steps toward building on unix via cmake

* set_property TARGET INCLUDE_DIRECTORIES requires newer version of cmake
* cscope support with new macros (master_src_list_append, generate_cscope_db)
* link math library into bench executable (on unix)
* include libfftw headers in cmake