Turn off static shadow for PROPER builds. #3137