added ability to add install prefix and thus installs libs & headers

Now can install to arbitrary location with -DCMAKE_INSTALL_PREFIX:PATH=<path>