Compile global statement