latest changes to cmake and config files. source can now be inlcuded also in other projects with some macros!