Fix for issue 1239

Proposition of a fix for issue 1239.

The proposed fix is to generate an mllib file even when the library is packed. In that case, the generated mllib file contains only the name of the pack, and the mlpack contains the list of all modules in the library.