add rpath back for library build

This broke library usage (eg. embedding crate) completely when it was removed. Adding it back seems to fix things.