You have two options, and both of them require using the compiled jar instead of the source code.
1. Create a wrapper in Java that access the library API.
2. Use #AdditionalJar + JavaObject + inline Java to access the API.
Don't try to compile everything with SLC. Even if you will solve all the compilation issues, it will not be usable.