On NetBSD build fails with:

 # modernc.org/sqlite/lib
 ../.gopath/pkg/mod/modernc.org/sqlite@v1.39.0/lib/sqlite_netbsd_amd64.go:112447:5: mu.enter undefined (type mutex has no field or method enter)
 ../.gopath/pkg/mod/modernc.org/sqlite@v1.39.0/lib/sqlite_netbsd_amd64.go:112448:11: mu.leave undefined (type mutex has no field or method leave)
