cmake: proper handling and exporting of ALL include dirs and libraries.