simulator: update code for new component initialization support on mingw
Merge pull request #128 from prife/sim-init

simulator: update code for new component initialization support on mingw