msb restruture
fixed loading of libs