Fix lxc driver build issue on Mac OS X

Docker-DCO-1.1-Signed-off-by: Albert Zhang <zhgwenming@gmail.com> (github: zhgwenming)
Merge pull request #8621 from zhgwenming/lxc

Fix lxc driver build issue on Mac OS X