fixed a directory error when packaging a module on linux or mac os
Merge branch 'develop'