fix failing in windows

use USERPROFILE environment variable in windows