build: Fix compile on Mac OS