Fix "compile" errors