Import and use AddUninstallTarget from robotology/ycm
Recreate the install tree in the build directory