Detect if this is being used as a submodule