libdyn: correct compilation errors