Fixed userprofile reference on windows