mac: fix build issue
Merge pull request #281 from Chilledheart/develop

mac: fix build issue