Fixed library require errors