detect global variables that are in the module
Merge branch 'master' of github.com:duncantl/RLLVMCompile