Use explicit init() call instead of static initializer

in the hope that this fixes bug #516