Define LINUX_LINK_MAX and use it instead of LINK_MAX.