Fix the variant default constructor using a template parameter without a correct type dependency.

Closes #25