Fix some build issueds for production
Merge branch 'master' of https://github.com/bihe/myDMS-node