I'm getting `ReferenceError: window is not defined` errors during my build process, is there a way around this?