Add workaround for incomplete constexpr support in MSVC.

Fixes #34.