added #cgo directives for amd64 !windows and for windows.