fixed linking with system libs, made rpath munging an option #869
Merge branch 'bugfixes/tokumx-1.3'