Updated build targets and improved windows compatibility.

Signed-off-by: Christian Gunderman <gundermanc@gmail.com>