Fix cygwin issues since user directory is not the normal windows one.