Fix white/black list parsing on Windows