Load ui from resource only if not Windows