Support running outside the windows app environment