Merge "Fix libdl build warnings, turn on -Werror."