Fixed Build Error on Mac