Add install/uninstall targets and switch to using a shell script for getting link arguments

Using a shell script should make it easier to include in other projects because it doesn't need to be compiled.