Fix SinkLibrary compile error