Kaluza-Klein approach to the heterotic string