Let globalOptions be undefined

If globalOptions is undefined, referencing something on it throws an error. This lets the globalOptions be undefined, as it will only reference the includePaths if it is defined.