fragment: increase robustness with MacOS -framework (closes #56)