Fixing --rpath error: build_remote_script.pl now inherits