Support 'make uninstall', fixing tracker item 3559.