Don't build static libs on Solaris, they don't work.

Also, rename variables a bit for a better cosmetic effect.