Add support for config.extra

shipping of auxiliary CMake scripts, fix some CMake 3.0 warnings