Fixed simulator windows compilation