This patch on its own will break mach. Part 3 will refactor mach's loader to discover and load modules using a modified module finding method.