Bugfix to cgo-enabled

Without this cgo-enabled was always 0 for me.