swig 2.0 (used by travis) doesn't like constexpr.