Strip newlines from configuration value

`LINK_SO` configuration has a newline on its value (Ruby 1.9.x).

    RbConfig::CONFIG["LINK_SO"]
    => "\ntest -z '$(RUBY_CODESIGN)' || codesign -s '$(RUBY_CODESIGN)' -f $@"