Work around problem with constexpr on Windows.

This is for libcxx compilation on Windows and is a result of
http://llvm.org/PR15651.

See issue #1019 for more detail.

This obsoletes pull request #1020 as well.