Set LDFLAGS build.rb to set RPATH for keg-only dependencies on Linux

Otherwise the libraries will not be found in the
$HOMEBREW_PREFIX/opt/<formula>/lib directory on Linux.

Refer to https://github.com/Homebrew/linuxbrew/issues/7.

Signed-off-by: Michael Wild <themiwi@users.sourceforge.net>