d-2.065: fix compilation errors