Merge pull request #81 from mithro/libfixes

Fix a number of issues with the generated liberty output