Override module paths for shared loader

@gozala this looks fine to me.