DefinePlugin bug fix for deep nested objects