Non-abelian Bose-Fermi equivalence in the background of Kaluza-Klein scalars and compactifications of closed bosonic strings