Build fixes

*corrected dependencies for multi threaded build
*updated maven plugins 
*added mysql to dist creation