[MPMD-99] calculate PMD.VERSION by runtime reflection to avoid compiler inlining the constant value base on a patch submitted by: Henri Tremblay