Modifying module loading to scan for libraries recursively when using module links.

Signed-off-by: Geoffrey Arnold <geoffrey@geoffreyarnold.com>