Add mac support for external_payment_page_url (issue #4828)