Compile global variable