Fixed problems with overlapping libraries. Should run now.