Workaround build issue on Mac