Fix uninstall script to handle spaces in file names

Fixed a few cmake syntax problems and added quotation marks
to remove command to handle spaces in file names.