Reverting to build MGui as static library