It seems the compiler is unable to resolve the dependency chain for "Ext.window.MessageBox". If I change it to "Ext.window.*" everything works fine. Outside of the compiler, "Ext.window.MessageBox" works okay with the debug JS.
This is just a guess, but the singleton definition of MessageBox might be tripping up resolution.