Correct the USE_METRIC_WEIGHTS option's usage, fixes #2394.

Fix for issue #2394.