Fix search path configuration for plugins.

Plugins providing binary modules would sometimes fail to load. We need
to apply to same path handling as we do in bootstrap.pm to make sure
we'll find platform specific binary modules.