Fix #99: ignore custom globals in leak detection

Not sure about the CLI argument name but otherwise this works.