use MODULE_PATHNAME instead of $libdir