normalizing path seperators in getCommonBase