Added compiler option for global variables handling