While globbing the includes of a file where not resolved from the right dir

This PR fixes that