Instead of having to know the version of native-platform at the Nix level, we use the file `lib/native-platform-<version>.jar` to figure out the version of the library JAR to patch.