Updated makefile for windows build.

Updated argument parsing in stable build.