The solution is described with a molecule at a certain molarity. So that's what you have to make: the solution at that molarity. How you get there doesn't matter. If you have the hexahydrate, you'll need a greater mass of solid, but once its dissolved in a minimum amount of water, and worked up to one liter, it will be the correct molarity of solute.
I went around the block a few times to get the same point in that explanation didn't I? Sorry. But I hope you get the point. Often, the anhydrous salt isn't soluble in water, even if the hydrate is. That's not a joke. The anhydrous salt just sits there, gradually hydrating and gradually dissolving. So often, we use the hydrate.