mac: fix build