Cleaned up the library and now it compiles successfully