Unset cached variable instead of making it INTERNAL

This should fix YARP_USE_SYSTEM_XXX not appearing after installing
a library.