Another attempt to fix the library bug

https://github.com/KanoComputing/peldins/issues/1306