Don't rely on GOROOT env var anymore
On Windows, append .exe to output path
add -ldflags
Allow os or arch command line flag to be empty string