Fixed mac build issue.