build: fix the pk3 build on apple