Fixes Mac AZShadow compile issue.