Fix non-integral const member

static const double members in class definition is a GNU extension, causing
warnings using clang and errors using VS/cl.