fix CMake build to work with both internal and external UHD via -DENABLE_UHD_INTERNAL=[on/off]