Avoids forcing links port when it's 80.

Rails 4.0 doesn't add `:80` in links but Rails 3.x does.