Call `build_package_ldflags_dirs` to suppress linker warnings