Export modules' DSO constructors.

We need to reference DSO constructors to make sure they can actually be
linked to the final binary, see http://git.io/DRIqCg.