This appears to fix the cgo crash on darwin - no clue why, don't care