Replaced static declarations with const, library now works
correctly with current Master branch of rust