Supporting 'int' type in globals generation [ci skip]