Revert "fix the mac build"

This reverts commit 37c397b6ed9ae07b55eb60097cdcc5d80c888fdd.