fix build without shadow support
5 files changed