Worked around weird crash, apparently libdarnit's state isn't defined when called from other libraries