make module name dependent on configuration

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>