Ignore extra text in nginx version string.

Trusty adds "(Ubuntu)" to the end, after the version number.