replaced constexpr with static const

constexpr is not supported on MSVC