Thanks to Stephen Peters, see also https://github.com/bulletphysics/bullet3/pull/328
change btHinge2Constraint to derive from new btGeneric6DofSpring2Constraint