patch go to allow CGo usage