Mark a constructor explicit so the style checker stops complaining. Fixes #2688.

Approved by Daniel Mewes.