More windows fixes

Add zcurve.c to the visual studio 2008 solution and ensure it compiles.

Adjust solution to include a RelWithDebInfo configuration and generate debug info .pdb files for the DLLs when using it.  Don't otherwise.