Add uninstall target, make files install in correct prefix

Add uninstall target
Make files install in correct prefix

The uninstall target is useful. The code is taken from the CMake wiki.
Previously, CMakeLists.txt was using ${PREFIX} instead of the correct ${CMAKE_INSTALL_PREFIX}, which caused files to be installed in the incorrect directory.