I introduced in a call to versionsort() in 8b04427 (first released in Pacemaker-3.0.0). Maybe I thought it was okay because we define _GNU_SOURCE, but that doesn't do anything on platforms without glibc. Or maybe I just didn't look at portability.
This means loading schema transformations may fail on non-Linux platforms. We need to replace it with a portable alternative.