Fix zlib solution to build with assembly.

* Fix paths to masm batch scripts in pre-build step.
* Make project depend on masm tools.
* Disable SAFESEH since we are linking assembly objects.
* Change build script to use Release target.
* Use /MD for Release target.