checking absolute path properly in Windows