enable selective exports in CMake builds