Fixed compile cflags for freebsd and gofmt.