fix more build erros and add SS.dll