Workaround to install modules with .so suffix on osx
The old autotools build system was create .so files instead of dylib and G_MODULE_SUFFIX does not take into account dylib suffixes so we should at least for now use .so until we have a better api to use than the one provided by gmodule.