Compilation fixes for latest dlogg