Fix path to modules in the main module