Use "init_shared_module" instead of "init_module" for initializing .so's