Fix for PLINK2-24

bugzilla reference:

Bugzilla – Bug 1058249