Fix crash when a module is a simple C function (issue #59)