*: fix build when using MacOS (#10250)
*: fix build when using MacOS (#10250)

Signed-off-by: Ryan Leung <98ca95cd24c810cea97a0e53f67d648652b7b2cf@gmail.com>
BusyJay/tikv,BusyJay/tikv,BusyJay/tikv,BusyJay/tikv