fix deployment of bmserver, resolve lib dependency issues
merge