Yes, should be in if (APPLE) block, I will fix this