fixes to compile with checkdeps