Apple build fix