Fixed a Mac compilation issue.