[config] OS detection for slash direction