Combined non-debian CMake code with debian

Removed a lot of redundancy. This should be easier to maintain and keep file location consistent for both the deb and arch installs.