fix more compilation stuff