substitute '\' by '/' in HOME environment variable for windows