Revert "build: include -rpath $(libdir) with private library."

This reverts commit fb0aff4ce8c87a2f137e54493efa109120aa4bac.