Updated MatlabBridge to 0.4.0 - fixed a crash, improved linux/mac support

See details at https://www.assembla.com/spaces/dG15GuCs4r4l4UeJe5cbCb/tickets?report%5Bestimate_show%5D=true&report%5Bid%5D=0&report%5Bmilestone_id_cond%5D=0&report%5Bmilestone_id_val%5D%5B%5D=3991343&report%5Btitle%5D=MatlabBridge+0.4.0+Tickets&report%5Btotal_estimate_show%5D=true&report%5Btotal_invested_hours_show%5D=true&report%5Bworking_hours_show%5D=true