Update CMake for EXPORT option