Spec map out of Environment Texture?

Howdy folks!
So, I’ve been using Blender for a couple years, but only recently started using Cycles. I am trying to follow Andrew Price’s tutorial on making the Earth in Blender, only using Cycles instead of BI. Another post on Blender Artists said that you should use an Environment Texture node as a replacement for the Sphere projection option in the BI. I did that, except now I have no clue how to use a specular map with an Environment Texture. I tried making a mix shader combine a diffuse and glossy with the specular map as the factor, but I’ve heard that it is bad practice to mix nodes of different colors, and the only output from an Environment Texture is a color output, not factor. Here’s my node setup:

I did a little surfing but couldn’t find any answers on Google.